﻿using System;
using NUnit.Framework;

namespace PropertyExpression.QueryExecutor.Test
{
    [TestFixture]
    public class ProductFacadeTest 
    {
        [Test]
        public void SearchProductsTest()
        {
            ProductFacade.SearchProducts(null, null);
        }

        [Test]
        public void SearchProductsTest1()
        {
            ProductFacade.SearchProducts(null, null);
        }

        [Test]
        public void SearchProductsAdvancedTest()
        {
            foreach (var productProjection in ProductFacade.SearchProducts(null, "A%"))
            {
                Console.WriteLine("{0} {1}", productProjection.ProductNumber, productProjection.Name);
            }
        }
    }
}
